package corbaEventService;

import cosEventChannelAdmin.AlreadyConnected;
import cosEventChannelAdmin.EventChannel;
import cosEventChannelAdmin.ProxyPushSupplierPOA;
import cosEventChannelAdmin.TypeError;
import cosEventComm.PushConsumer;

public class ProxyPushSupplierImpl extends ProxyPushSupplierPOA {
	private EventChannel channel;		
	
	public ProxyPushSupplierImpl(EventChannel channel) {
		super();
		this.channel = channel;
	}

	@Override
	public void connect_push_consumer(PushConsumer push_consumer)
			throws AlreadyConnected, TypeError {
		channel.connect_push_consumer(push_consumer);
	}

	@Override
	public void disconnect_push_supplier() {		
		
	}

	@Override
	public String getID() {		
		return null;
	}

}
